<div class="pages">
{if $WEB_APP.language eq ''}
	<span class="current">{$text.txt_all}</span>
{else}
	<a href="{$WEB_APP.script_name}&amp;language=all" title="{$text.txt_all_translations}">{$text.txt_all}</a>
{/if}
{foreach from=$WEB_APP.languages item=item}
	{if $item.short_name eq $WEB_APP.language}
		<span class="current">{$item.name}</span>
	{else}
		<a href="{$WEB_APP.script_name}&amp;language={$item.short_name}" 
		   title="{$item.name} {$text.txt_lower_translations}">{$item.name}</a>
	{/if}
{/foreach}
</div>
